FROM python:3.7-alpine

WORKDIR /app

ENV PORT="8000"

COPY requirements.txt /app

RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ && \
    rm -fr /root/.cache

COPY . /app

CMD python app.py